/*-------------------------------------------------------------------------*
 |                                                                         
 |            STATA SUPPLEMENTAL SYNTAX FILE FOR ICPSR 08908
 |      STUDY OF CONSUMER PURCHASES IN THE UNITED STATES, 1935-1936
 |       (DATASET 0001: INCOME DATA FOR ALL SAMPLED URBAN FAMILIES)
 |
 |
 | This Stata missing value recode program is provided for optional use with
 | the Stata system version of this data file as distributed by ICPSR.
 | The program replaces user-defined numeric missing values (e.g., -9)
 | with generic system missing "."  Note that Stata allows you to specify
 | up to 27 unique missing value codes.  Only variables with user-defined
 | missing values are included in this program.
 |
 | To apply the missing value recodes, users need to first open the
 | Stata data file on their system, apply the missing value recodes if
 | desired, then save a new copy of the data file with the missing values
 | applied.  Users are strongly advised to use a different filename when
 | saving the new file.
 |
 *------------------------------------------------------------------------*/

replace V7 = . if (V7 == 0)
replace V9 = . if (V9 == 0)
replace V11 = . if (V11 == 0)
replace V12 = . if (V12 == 0)
replace V13 = . if (V13 == 0 | V13 == 99)
replace V14 = . if (V14 == 99)
replace V15 = . if (V15 == 99)
replace V16 = . if (V16 == 9)
replace V17 = . if (V17 == 0 | V17 == 99)
replace V18 = . if (V18 == 99)
replace V19 = . if (V19 == 99)
replace V20 = . if (V20 == 9)
replace V21 = . if (V21 == 0)
replace V22 = . if (V22 == 9)
replace V23 = . if (V23 == 0.00 | V23 >= 99)
replace V24 = . if (V24 == 99)
replace V25 = . if (V25 == 99)
replace V26 = . if (V26 == 9)
replace V27 = . if (V27 == 0)
replace V28 = . if (V28 == 9)
replace V29 = . if (V29 == 0.00 | V29 >= 99)
replace V30 = . if (V30 == 99)
replace V31 = . if (V31 == 99)
replace V32 = . if (V32 == 9)
replace V33 = . if (V33 == 0)
replace V34 = . if (V34 == 9)
replace V35 = . if (V35 == 0.00 | V35 >= 99)
replace V36 = . if (V36 == 99)
replace V37 = . if (V37 == 99)
replace V38 = . if (V38 == 9)
replace V39 = . if (V39 == 0)
replace V40 = . if (V40 == 9)
replace V41 = . if (V41 == 0.00 | V41 >= 99)
replace V42 = . if (V42 == 99)
replace V43 = . if (V43 == 99)
replace V44 = . if (V44 == 9)
replace V45 = . if (V45 == 0)
replace V46 = . if (V46 == 9)
replace V47 = . if (V47 == 0.00 | V47 >= 99)
replace V48 = . if (V48 == 99)
replace V49 = . if (V49 == 99)
replace V50 = . if (V50 == 9)
replace V51 = . if (V51 == 0)
replace V52 = . if (V52 == 9)
replace V53 = . if (V53 == 0.00 | V53 >= 99)
replace V54 = . if (V54 == 99)
replace V55 = . if (V55 == 99)
replace V56 = . if (V56 == 9)
replace V57 = . if (V57 == 0)
replace V58 = . if (V58 == 9)
replace V59 = . if (V59 == 0.00 | V59 >= 99)
replace V60 = . if (V60 == 99)
replace V61 = . if (V61 == 99)
replace V62 = . if (V62 == 0)
replace V63 = . if (V63 == 9)
replace V64 = . if (V64 == 0.00 | V64 >= 99)
replace V65 = . if (V65 == 99)
replace V66 = . if (V66 == 9)
replace V67 = . if (V67 == 0)
replace V68 = . if (V68 == 9)
replace V69 = . if (V69 >= 99)
replace V70 = . if (V70 == 99)
replace V71 = . if (V71 == 9)
replace V72 = . if (V72 == 0)
replace V73 = . if (V73 == 9)
replace V74 = . if (V74 >= 99)
replace V75 = . if (V75 == 99)
replace V76 = . if (V76 == 9)
replace V77 = . if (V77 == 0)
replace V78 = . if (V78 == 9)
replace V79 = . if (V79 >= 99)
replace V80 = . if (V80 == 99)
replace V81 = . if (V81 == 9)
replace V82 = . if (V82 == 0)
replace V83 = . if (V83 == 9)
replace V84 = . if (V84 >= 99)
replace V85 = . if (V85 == 99)
replace V86 = . if (V86 == 9)
replace V87 = . if (V87 == 0.00)
replace V88 = . if (V88 == 9)
replace V89 = . if (V89 == 9)
replace V90 = . if (V90 == 99)
replace V91 = . if (V91 == 0.00)
replace V92 = . if (V92 == 9)
replace V93 = . if (V93 == 0.00)
replace V94 = . if (V94 == 9)
replace V95 = . if (V95 == 0.00)
replace V96 = . if (V96 == 9)
replace V123 = . if (V123 == 0)
replace V124 = . if (V124 == 0)
replace V125 = . if (V125 == 0)
replace V126 = . if (V126 == 0 | V126 == 99)
replace V127 = . if (V127 == 0 | V127 == 99)
replace V130 = . if (V130 == 0 | V130 == 9)
replace V131 = . if (V131 >= 99999)
replace V132 = . if (V132 == 0 | V132 == 9)
replace V133 = . if (V133 >= 9999)
replace V134 = . if (V134 >= 99999)
replace V135 = . if (V135 == 0)
replace V136 = . if (V136 == 0 | V136 == 99)
replace V137 = . if (V137 == 0 | V137 == 99)
replace V140 = . if (V140 == 0 | V140 == 9)
replace V141 = . if (V141 >= 9999)
replace V142 = . if (V142 == 0 | V142 == 9)
replace V143 = . if (V143 >= 9999)
replace V144 = . if (V144 >= 9999)
replace V145 = . if (V145 == 0)
replace V146 = . if (V146 == 0 | V146 == 9)
replace V147 = . if (V147 == 0 | V147 == 99)
replace V150 = . if (V150 == 0 | V150 == 9)
replace V151 = . if (V151 >= 9999)
replace V152 = . if (V152 == 0 | V152 == 9)
replace V153 = . if (V153 >= 999)
replace V154 = . if (V154 >= 9999)
replace V155 = . if (V155 == 0)
replace V156 = . if (V156 == 0 | V156 == 99)
replace V157 = . if (V157 == 0 | V157 == 99)
replace V160 = . if (V160 == 0 | V160 == 9)
replace V161 = . if (V161 >= 999)
replace V162 = . if (V162 == 0 | V162 == 9)
replace V163 = . if (V163 >= 999)
replace V164 = . if (V164 >= 9999)
replace V165 = . if (V165 == 0)
replace V166 = . if (V166 == 0 | V166 == 99)
replace V167 = . if (V167 == 0 | V167 == 99)
replace V170 = . if (V170 == 0 | V170 == 9)
replace V171 = . if (V171 >= 999)
replace V172 = . if (V172 == 0 | V172 == 9)
replace V173 = . if (V173 >= 99)
replace V174 = . if (V174 >= 999)
replace V175 = . if (V175 == 0)
replace V176 = . if (V176 == 0 | V176 == 99)
replace V177 = . if (V177 == 0 | V177 == 99)
replace V180 = . if (V180 == 0 | V180 == 9)
replace V181 = . if (V181 >= 999)
replace V182 = . if (V182 == 0 | V182 == 9)
replace V183 = . if (V183 >= 99)
replace V184 = . if (V184 >= 999)
replace V185 = . if (V185 == 0)
replace V186 = . if (V186 == 0 | V186 == 99)
replace V187 = . if (V187 == 0 | V187 == 99)
replace V190 = . if (V190 == 0 | V190 == 9)
replace V191 = . if (V191 >= 99)
replace V192 = . if (V192 == 0 | V192 == 9)
replace V193 = . if (V193 >= 99)
replace V194 = . if (V194 >= 999)
replace V195 = . if (V195 == 0)
replace V196 = . if (V196 == 0 | V196 == 99)
replace V197 = . if (V197 == 0 | V197 == 99)
replace V200 = . if (V200 == 0 | V200 == 9)
replace V201 = . if (V201 >= 99)
replace V202 = . if (V202 == 0 | V202 == 9)
replace V203 = . if (V203 >= 99)
replace V204 = . if (V204 >= 999)
replace V205 = . if (V205 == 0)
replace V206 = . if (V206 == 0 | V206 == 99)
replace V207 = . if (V207 == 0 | V207 == 99)
replace V210 = . if (V210 == 0 | V210 == 9)
replace V211 = . if (V211 >= 99)
replace V212 = . if (V212 == 0 | V212 == 9)
replace V213 = . if (V213 >= 99)
replace V214 = . if (V214 >= 999)
replace V215 = . if (V215 == 0)
replace V216 = . if (V216 == 0 | V216 == 99)
replace V217 = . if (V217 == 0 | V217 == 99)
replace V220 = . if (V220 == 0 | V220 == 9)
replace V221 = . if (V221 >= 99)
replace V222 = . if (V222 == 0 | V222 == 9)
replace V223 = . if (V223 >= 9)
replace V224 = . if (V224 >= 999)
replace V234 = . if (V234 >= 99999)


